TEMPLATE = app
CONFIG += console
CONFIG += c++11


DESTDIR  = ../../bin/tools

CONFIG(debug, debug|release) {
OBJECTS_DIR = build/debug
MOC_DIR = build/debug
TARGET = goertzel_d
}
else {
OBJECTS_DIR = build/release
MOC_DIR = build/release
TARGET = goertzel
}

SOURCES += src/main.cpp

include(../../dsp_algo/dsp_algo.pri)

ENV_CONF = $$(ENV_CONF)
isEmpty(ENV_CONF) {
message("Project environment is empty !")
}

contains( ENV_CONF, lin_q5 ){
message(" Qt 5 linux config used .")
INCLUDEPATH += /home/alex/projects/cpplibs/qlogger/src
LIBS        += -L/home/alex/projects/cpplibs/qlogger/lib

INCLUDEPATH += /home/alex/projects/cpplibs/boost_1_53_0

INCLUDEPATH += /home/alex/projects/cpplibs/qwt/qwt-code/qwt/src
LIBS += -L/home/alex/projects/cpplibs/qwt/qwt-code/qwt/lib

QMAKE_LFLAGS += -Wl,-rpath,.
QMAKE_LFLAGS += -Wl,-rpath,'/home/alex/projects/cpplibs/qlogger/lib'
QMAKE_LFLAGS += -Wl,-rpath,'/home/alex/projects/cpplibs/qwt/qwt-code/qwt/lib'
}

contains( ENV_CONF, mingw_q5 ){
message(" Qt 5 mingw config used .")
INCLUDEPATH += d:/projects/cpplibs/qlogger/include
LIBS        += -Ld:/projects/cpplibs/qlogger/lib/$$basename(QMAKESPEC)/$$QT_VERSION

INCLUDEPATH += d:/projects/cpplibs/boost_1_55_0

INCLUDEPATH += d:/projects/cpplibs/qwt_trunk/qwt-code/qwt/src
LIBS += -Ld:/projects/cpplibs/qwt_trunk/qwt-code/qwt/lib

}
